add_compile_options(-mcpu=cortex-m3)
add_link_options(-mcpu=cortex-m3)
add_definitions(-DSTM32F103xB)
set(platformSeries stm32f1xx)
set(startupFile ${platformDir}/startup_stm32f103xb.s)
set(linkScript ${platformDir}/STM32F103C8Tx_FLASH.ld)
set(platformHalDir ${PROJECT_SOURCE_DIR}/Drivers/STM32F1xx_HAL_Driver)
set(platformCMSISDir ${PROJECT_SOURCE_DIR}/Drivers/CMSIS/Device/ST/STM32F1xx)
